cmake_minimum_required(VERSION 3.10)

project(RTICONNEXTDDS_ParticipantMonitor)

include_directories(${PROJECT_SOURCE_DIR}/../../include/utils)

add_executable(dal_rticonnextdds_participant_monitor
    test_participant_monitor.cc
    ${PROJECT_SOURCE_DIR}/../../src/utils/ParticipantMonitor.cpp
)

target_link_libraries(dal_rticonnextdds_participant_monitor dal dal_rticonnextdds)

install(TARGETS
        dal_rticonnextdds_participant_monitor
        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/dal/rticonnext/TestCases/ParticipantMonitor)
